package com.fqgj.sentry.policy.enums;

/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-08-02 上午9:41
 */
public enum VersionStatusEnum {
    /**
     *版本状态：0:初始版本 1线上版本 2:待发布
     */
    history_version(0, "其他版本"),
    current_version(1, "线上版本"),
    pending_version(2, "待发布版本"),
    drop_version(3, "丢弃版本");

    private Integer status;
    private String  desc;

    VersionStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public VersionStatusEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public VersionStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
